package com.forenow.demo.Bank;

import java.util.Scanner;

public class qukuan {
    public static void qk(){
        int sal=10000;
        Scanner sc = new Scanner(System.in);
        boolean flag = false;
        System.out.println("您的余额为" + sal);
        System.out.print("请输入您要取款的金额：");
        int money2=sc.nextInt();
        sal-=money2;
        System.out.println("您的余额为"+sal);
    }
}
